let stringValue = "na ";
let copyResult = stringValue.repeat(2) // na na 
console.log(stringValue,copyResult)
let text = "cat, bat, sat, fat";
let pattern = /.at/g;
let matches = text.match(pattern);
console.log(matches); // "cat"